package com.example.lock.zk;

/**
 * @Description: 获取锁、释放锁接口
 * @Author: mingtian
 * @CreateDate: 2020/12/5 11:49
 * @Version: 1.0
 */
public interface ZKLock {
    /**
     * 获取锁
     */
    boolean getLock();

    /**
     * 释放锁
     */
    void releaseLock();
}
